﻿<%@ Page Title="Editar apartamento" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="EditarApartamento.aspx.cs" Inherits="TCC_Hotel.Apresentacao.Apartamentos.EditarApartamento" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
           width: 30%;
        }
        .style2
        {
            width: 279px;
        }
    </style>
    <script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="../../Scripts/Mascaras.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:Label ID="lblAviso2" runat="server" Text="- Os campos com * são obrigatórios"
            ForeColor="Red"></asp:Label>
    </div>
    <p class="title-telas">
        Editar apartamento
    </p>
    <div style="margin-bottom: 0px">
        <fieldset>
            <legend id="legend3" runat="server">
                <asp:Label ID="Label3" runat="server" Text="Informações"></asp:Label>
            </legend>
            <table style="width: 100%;">
                <tr>
                    <td class="style1">
                        <asp:Label ID="lblNumero" runat="server" Text="Número:"></asp:Label>
                        <asp:Label ID="lblValidacaoNumero" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox onkeyup="formataInteiro(this,event);" ID="txtNumero" runat="server"
                            Width="60px" MaxLength="4"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Label ID="lblNome" runat="server" Text="Nome:"></asp:Label>
                        <asp:Label ID="lblValidacaoNome" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:TextBox onkeyup="formataCaracteresPermitidos(this,event)" ID="txtNome" runat="server"
                            Width="130px" MaxLength="20"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        <asp:Label ID="lblCNPJ" runat="server" Text="Quantidade máxima de hóspedes:"></asp:Label>
                        <asp:Label ID="lblValidacaoCNPJ" runat="server" Text="*" ForeColor="Red"></asp:Label><br />
                        <asp:DropDownList ID="ddlQuantidade" runat="server">
                            <asp:ListItem Selected="True">1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div align="left" style="width: 55%; float: left">
            <asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="100px" OnClick="btnSalvar_Click" />
            <asp:Button ID="btnLimpar" runat="server" Text="Limpar" Width="100px" OnClick="btnLimpar_Click" />
            <asp:Button ID="btnVoltar" runat="server" Text="Voltar" Width="100px" OnClick="btnVoltar_Click" />
        </div>
    </div>
</asp:Content>
